

This is the README file for the replication materials associated with the following paper:

--------------------------------------------------------------------------------------------
Pomeroy, C (2018) "The quantitative analysis of space policy: A review of current methods 
and future directions," Space Policy.
--------------------------------------------------------------------------------------------

The paper contains two empirical applications: one on public opinion (application 1) and one on international space law (application 2). Feel free to reach out with questions. Happy coding.

-Caleb
pomeroy.38@osu.edu
Department of Political Science, The Ohio State University




Application 1:
---------------------------------

--- Code:

The script space_opinion_app1.R contains the code needed to replicate the public opinion application.

NB: this analysis was conducted using quanteda version 1.3.4.



--- Data:

1. Try scraping Twitter for your own phrases of interest, or...


2. Replicate the paper's results using:

tweets_replication_df.rds: A data frame that contains the texts of the scraped tweets, the date of creation, and the number of retweets. 

space_lda.rds: The output from the LDA model fit using the topicmodels package.







Application 2:
---------------------------------

--- Code:

The script space_law_app2.R contains the code needed to replicate the international law application.

NB: this analysis was conducted using quanteda version 1.1.1 and GERGM version 0.11.2.




--- Data:

1. The speeches in UN COPUOS can be accessed from the spaceTexts repo on Harvard Dataverse: https://doi.org/10.7910/DVN/1WJLY8


2. Other required data sources (already included in the repo):

copuos_sims.rds: N x N adjacency matrix weighted by cosine similarities between state speeches

unga_votes.rds: N x N adjacency matrix weighted by similarities between UNGA voting ideal points

bilat_treaty_nw.rds: N x N adjacency matrix weighted by counts of bilateral space cooperation agreements

node_data.rds: A data frame that contains info on alliance membership and indicator for space program before 1980

treaty_sims.rds: N x N adjacency matrix weighted by counts of the same decisions on each of the 5 space treaties

